export default [
    {
        path: '/firmware/manage',
        name: 'firmware-manage',
        meta: {
            title: '固件版本更新',
            icon: 'property-safety-outlined'
        },
        redirect: '/firmware/manage/list',
        component: () => import('@/components/Layout/CommonLayout.vue'),
        children: [
            {
                path: '/firmware/manage/list',
                name: 'firmware-manage-list',
                meta: {
                    title: '固件版本更新',
                    icon: 'property-safety-outlined',
                    keepAlive: true,
                },
                component: () => import('@/views/firmware/manage/list.vue'),
            },
            {
                path: '/firmware/manage/add',
                name: 'firmware-manage-add',
                meta: {
                    title: '新建固件版本',
                    icon: 'property-safety-outlined',

                    toRoute: 'firmware-manage-list'
                },
                hidden: true,
                component: () => import('@/views/firmware/manage/add.vue'),
            },
            {
                path: '/firmware/task/list',
                name: 'firmware-task-list',
                meta: {
                    title: '升级任务',
                    icon: 'property-safety-outlined',
                    keepAlive: true,
                    toRoute: 'firmware-manage-list'
                },
                hidden: true,
                component: () => import('@/views/firmware/task/list.vue'),
            },
            {
                path: '/firmware/task/add',
                name: 'firmware-task-add',
                meta: {
                    title: '新增升级任务',
                    icon: 'property-safety-outlined',

                    toRoute: 'firmware-manage-list'
                },
                hidden: true,
                component: () => import('@/views/firmware/task/add.vue'),
            },


        ],
    },
];
